﻿<Window x:Class="ImapTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:p="clr-namespace:ImapTest.Properties"
        Title="Imap Test" Height="422" Width="428" IsEnabled="True" xmlns:my="clr-namespace:ImapTest">
        <Window.Resources>
            <p:Settings x:Key="settings" />
        </Window.Resources>
    <Grid Margin="5" DataContext="{StaticResource settings}">
        <Button Content="Connect" Height="23" Margin="131,106,9,0" Name="btnRun" VerticalAlignment="Top" Click="btnRun_Click" IsDefault="True" />
        <GroupBox Header="Account" Height="100" HorizontalAlignment="Left" Name="srcAccountGroupBox" VerticalAlignment="Top" Width="393" IsEnabled="True">
            <Grid>
                <TextBox Height="23" Margin="76,12,6,0" Name="srcEmailTextBox" VerticalAlignment="Top" Text="{Binding Path=Default.srcEmail, Mode=TwoWay}" />
                <Label Content="Email:" Height="28" HorizontalAlignment="Left" Margin="32,10,0,0" Name="srcEmailLabel" VerticalAlignment="Top" />
                <PasswordBox Height="23" HorizontalAlignment="Left" Margin="76,41,0,0" Name="srcPassword" VerticalAlignment="Top" Width="200" PasswordChanged="srcPassword_PasswordChanged" />
                <Label Content="Password:" Height="28" HorizontalAlignment="Left" Margin="10,41,0,0" Name="label1" VerticalAlignment="Top" />
                <CheckBox Content="Debug" Height="16" HorizontalAlignment="Left" Margin="282,46,0,0" Name="srcDebugCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.srcDebug,Mode=TwoWay}" Click="srcDebugCheckBox_Click" />
            </Grid>
        </GroupBox>
        <CheckBox Height="16" HorizontalAlignment="Left" Margin="16,110,0,0" Name="savePasswordsCheckBox" VerticalAlignment="Top" IsChecked="{Binding Path=Default.storePasswords,Mode=TwoWay}" Content="Save Passwords" Click="savePasswordsCheckBox_Click" />
        <Label Content="Command:" Height="28" HorizontalAlignment="Left" Margin="6,153,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" Margin="80,155,15,0" Name="commandTextBox" VerticalAlignment="Top" KeyDown="commandTextBox_KeyDown" />
        <TextBox Margin="12,187,12,12" Name="resultsTextbox" IsReadOnly="True" VerticalScrollBarVisibility="Auto" />
    </Grid>
</Window>
